package com.macro.mall.dao.ums;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsMemberRuleSettingDO;
import com.macro.mall.model.ums.UmsMemberRuleSettingQuery;
import org.apache.ibatis.annotations.Param;

public interface UmsMemberRuleSettingMapper extends BaseMapper<UmsMemberRuleSettingDO> {
    long countByExample(UmsMemberRuleSettingQuery example);

    int deleteByExample(UmsMemberRuleSettingQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsMemberRuleSettingDO record);

    int insertSelective(UmsMemberRuleSettingDO record);

    List<UmsMemberRuleSettingDO> selectByExample(UmsMemberRuleSettingQuery example);

    UmsMemberRuleSettingDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsMemberRuleSettingDO record, @Param("example") UmsMemberRuleSettingQuery example);

    int updateByExample(@Param("record") UmsMemberRuleSettingDO record, @Param("example") UmsMemberRuleSettingQuery example);

    int updateByPrimaryKeySelective(UmsMemberRuleSettingDO record);

    int updateByPrimaryKey(UmsMemberRuleSettingDO record);
}
